<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>css_tips | Cucy的博客</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="css">
    <meta name="description" content="样式
行内

嵌入式

外部样式表


&amp;lt;style type=&quot;text/css&quot;&amp;gt;    @import url(site.css);    @import url(navbar.css);    @import url(footer.css) screen and (min-width: 960px);    body &amp;#123;        background: yell">
<meta property="og:type" content="article">
<meta property="og:title" content="css_tips">
<meta property="og:url" content="http://zhourudong.cn/2018/04/23/57-css-tips/index.html">
<meta property="og:site_name" content="Cucy的博客">
<meta property="og:description" content="样式
行内

嵌入式

外部样式表


&amp;lt;style type=&quot;text/css&quot;&amp;gt;    @import url(site.css);    @import url(navbar.css);    @import url(footer.css) screen and (min-width: 960px);    body &amp;#123;        background: yell">
<meta property="og:updated_time" content="2019-02-22T05:28:07.840Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="css_tips">
<meta name="twitter:description" content="样式
行内

嵌入式

外部样式表


&amp;lt;style type=&quot;text/css&quot;&amp;gt;    @import url(site.css);    @import url(navbar.css);    @import url(footer.css) screen and (min-width: 960px);    body &amp;#123;        background: yell">
    
        <link rel="alternate" type="application/atom+xml" title="Cucy的博客" href="/atom.xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="/css/style.css?v=1.6.13">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide" >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.png">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">cucy</h5>
          <a href="mailto:292016176@qq.com" title="292016176@qq.com" class="mail">292016176@qq.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/cucy" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">css_tips</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">css_tips</h1>
        <h5 class="subtitle">
            
                <time datetime="2018-04-23T06:35:27.000Z" itemprop="datePublished" class="page-time">
  2018-04-23
</time>


            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#样式"><span class="post-toc-number">1.</span> <span class="post-toc-text">样式</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#at-rules"><span class="post-toc-number">2.</span> <span class="post-toc-text">at-rules</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#Position"><span class="post-toc-number">3.</span> <span class="post-toc-text">Position</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#响应式设计"><span class="post-toc-number">4.</span> <span class="post-toc-text">响应式设计</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#媒体查询"><span class="post-toc-number">4.1.</span> <span class="post-toc-text">媒体查询</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#语法"><span class="post-toc-number">4.1.1.</span> <span class="post-toc-text">语法</span></a></li></ol></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#Text-响应式文本"><span class="post-toc-number">4.2.</span> <span class="post-toc-text">Text 响应式文本</span></a></li></ol></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#内容垂直居中"><span class="post-toc-number">5.</span> <span class="post-toc-text">内容垂直居中</span></a></li></ol>
        </nav>
    </aside>
    
<article id="post-57-css-tips"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">css_tips</h1>
        <div class="post-meta">
            <time class="post-time" title="2018-04-23 14:35:27" datetime="2018-04-23T06:35:27.000Z"  itemprop="datePublished">2018-04-23</time>

            


            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h1 id="样式"><a href="#样式" class="headerlink" title="样式"></a>样式</h1><ul>
<li><p>行内</p>
</li>
<li><p>嵌入式</p>
</li>
<li><p>外部样式表</p>
</li>
</ul>
<figure class="highlight"><table><tr><td class="code"><pre><span class="line">&lt;style type="text/css"&gt;</span><br><span class="line">    @import url(site.css);</span><br><span class="line">    @import url(navbar.css);</span><br><span class="line">    @import url(footer.css) screen and (min-width: 960px);</span><br><span class="line">    body &#123;</span><br><span class="line">        background: yellow;</span><br><span class="line">    &#125;</span><br><span class="line">&lt;/style&gt;</span><br></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;basic.css&quot;  media=&quot;all&quot;&gt;</span><br><span class="line">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;web.css&quot; media=&quot;screen and (max-width: 960px)&quot;&gt;</span><br><span class="line">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;paper.css&quot; media=&quot;print and (color-depth: 2)&quot;&gt;</span><br></pre></td></tr></table></figure>
<h1 id="at-rules"><a href="#at-rules" class="headerlink" title="at-rules"></a>at-rules</h1><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">@charset</span><br><span class="line">@charset &quot;utf-8&quot;;</span><br><span class="line"></span><br><span class="line">@import</span><br><span class="line">@namespace</span><br><span class="line">@counter-style</span><br><span class="line">@font-face</span><br><span class="line">@keyframes</span><br><span class="line">@media</span><br><span class="line">@supports</span><br></pre></td></tr></table></figure>
<h1 id="Position"><a href="#Position" class="headerlink" title="Position"></a>Position</h1><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">[</span><br><span class="line">[ left | center | right | top | bottom | &lt;percentage&gt; | &lt;length&gt; ] |</span><br><span class="line">[ left | center | right | &lt;percentage&gt; | &lt;length&gt; ]</span><br><span class="line">[ top | center | bottom | &lt;percentage&gt; | &lt;length&gt; ] |</span><br><span class="line">[ center | [ left | right ] [ &lt;percentage&gt; | &lt;length&gt; ]? ] &amp;&amp;</span><br><span class="line">[ center | [ top | bottom ] [ &lt;percentage&gt; | &lt;length&gt; ]? ]</span><br><span class="line">]</span><br></pre></td></tr></table></figure>
<h1 id="响应式设计"><a href="#响应式设计" class="headerlink" title="响应式设计"></a>响应式设计</h1><h2 id="媒体查询"><a href="#媒体查询" class="headerlink" title="媒体查询"></a>媒体查询</h2><ul>
<li><p>screen: 用于电脑屏幕、平板电脑、智能手机、电视监视器等</p>
</li>
<li><p>print: 打印机</p>
</li>
<li><p>speech: 阅读设备</p>
</li>
<li><p>all(default): screen, print, and speech.</p>
</li>
</ul>
<blockquote>
<p>min-width<br>max-width</p>
</blockquote>
<h3 id="语法"><a href="#语法" class="headerlink" title="语法"></a>语法</h3><ul>
<li>基本语法</li>
</ul>
<p><a href="https://drafts.csswg.org/mediaqueries-4/#media-query" target="_blank" rel="external">https://drafts.csswg.org/mediaqueries-4/#media-query</a></p>
<figure class="highlight css"><table><tr><td class="code"><pre><span class="line">@<span class="keyword">media</span> media-type and (media-feature) &#123;</span><br><span class="line">    <span class="selector-tag">CSS-style</span> <span class="selector-tag">rules</span> …</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<figure class="highlight"><table><tr><td class="code"><pre><span class="line">body &#123;</span><br><span class="line">    @media screen and (max-width: 480px)&#123;</span><br><span class="line">        background-color:white;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">    @media screen and (min-width: 480px)&#123;</span><br><span class="line">        background-color:black;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<ul>
<li>逻辑 and</li>
</ul>
<figure class="highlight"><table><tr><td class="code"><pre><span class="line">.midsize&#123;</span><br><span class="line">    @media (min-witdh:501px) and (max-width:800px)&#123;</span><br><span class="line">           css style rules.... </span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line">&lt;!--  --&gt;</span><br><span class="line">@media not (width &lt;= -100px) &#123;</span><br><span class="line">  body &#123; background: green; &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>小栗子</p>
<figure class="highlight"><table><tr><td class="code"><pre><span class="line">body &#123;</span><br><span class="line">@media screen and (max-width: 480px) &#123;</span><br><span class="line">    background-color: white; &#125; /* phone background */</span><br><span class="line">@media screen and (min-width: 481px) and (max-width: 780px) &#123;</span><br><span class="line">    background-color: yellow; &#125; /* tablet background */&#125;</span><br><span class="line">@media screen and (min-width: 781px) &#123;</span><br><span class="line">    background-color: red; &#125; /* computer background */</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="Text-响应式文本"><a href="#Text-响应式文本" class="headerlink" title="Text 响应式文本"></a>Text 响应式文本</h2><figure class="highlight"><table><tr><td class="code"><pre><span class="line">div &#123;</span><br><span class="line">    font-size: 16px; /* 1em = 16 px */</span><br><span class="line">    width: 2.5em; ; /* width = 40 px */</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<figure class="highlight css"><table><tr><td class="code"><pre><span class="line"><span class="selector-tag">html</span> &#123; <span class="attribute">font-size</span>: <span class="number">20px</span>; &#125;</span><br><span class="line"><span class="selector-tag">div</span> &#123; <span class="attribute">font-size</span>: <span class="number">16px</span>;&#125;</span><br><span class="line"><span class="selector-tag">p</span> &#123; <span class="attribute">font-size</span>: <span class="number">0.5rem</span>;&#125; <span class="comment">/* font size is 10px */</span></span><br></pre></td></tr></table></figure>
<h1 id="内容垂直居中"><a href="#内容垂直居中" class="headerlink" title="内容垂直居中"></a>内容垂直居中</h1><p><a href="http://www.zhangxinxu.com/wordpress/2009/11/css%E8%A1%8C%E9%AB%98line-height%E7%9A%84%E4%B8%80%E4%BA%9B%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8F%8A%E5%BA%94%E7%94%A8/" target="_blank" rel="external">http://www.zhangxinxu.com/wordpress/2009/11/css%E8%A1%8C%E9%AB%98line-height%E7%9A%84%E4%B8%80%E4%BA%9B%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8F%8A%E5%BA%94%E7%94%A8/</a></p>
<figure class="highlight html"><table><tr><td class="code"><pre><span class="line"></span><br><span class="line"><span class="tag">&lt;<span class="name">section</span>&gt;</span></span><br><span class="line"> <span class="tag">&lt;<span class="name">style</span> <span class="attr">type</span>=<span class="string">"text/css"</span>&gt;</span><span class="css"></span><br><span class="line"> <span class="selector-class">.single_line</span>&#123;<span class="attribute">line-height</span>:<span class="number">30px</span>; <span class="attribute">border</span>:<span class="number">1px</span> dashed <span class="number">#cccccc</span>; <span class="attribute">padding-left</span>:<span class="number">5px</span>;&#125;</span><br><span class="line"> <span class="selector-class">.mulit_line</span>&#123;<span class="attribute">line-height</span>:<span class="number">150px</span>; <span class="attribute">border</span>:<span class="number">1px</span> dashed <span class="number">#cccccc</span>; <span class="attribute">padding-left</span>:<span class="number">5px</span>; <span class="attribute">font-size</span>:<span class="number">0</span>;&#125;</span><br><span class="line"> <span class="selector-class">.mulit_line</span> <span class="selector-tag">span</span>&#123;<span class="attribute">display</span>:inline-block; <span class="attribute">line-height</span>:<span class="number">1.4em</span>; <span class="attribute">vertical-align</span>:middle;&#125;</span><br><span class="line"></span><span class="tag">&lt;/<span class="name">style</span>&gt;</span></span><br><span class="line"></span><br><span class="line">        <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"zxx_main_con"</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;<span class="name">strong</span> <span class="attr">class</span>=<span class="string">"f11"</span>&gt;</span>单行文字<span class="tag">&lt;/<span class="name">strong</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;<span class="name">p</span> <span class="attr">class</span>=<span class="string">"single_line mt10 mb20"</span>&gt;</span></span><br><span class="line">                这是高度为30像素的单行文字</span><br><span class="line">            <span class="tag">&lt;/<span class="name">p</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;<span class="name">strong</span> <span class="attr">class</span>=<span class="string">"f11"</span>&gt;</span>多行文字<span class="tag">&lt;/<span class="name">strong</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;<span class="name">p</span> <span class="attr">class</span>=<span class="string">"mulit_line mt10"</span>&gt;</span></span><br><span class="line">                <span class="tag">&lt;<span class="name">span</span> <span class="attr">style</span>=<span class="string">"font-size:12px;"</span>&gt;</span>这里是高度为150像素的标签内的多行文字，文字大小为12像素。<span class="tag">&lt;<span class="name">br</span> /&gt;</span>这里是第二行，用来测试多行的显示效果。<span class="tag">&lt;/<span class="name">span</span>&gt;</span><span class="tag">&lt;<span class="name">i</span> <span class="attr">class</span>=<span class="string">"vm dib"</span>&gt;</span>&amp;nbsp;<span class="tag">&lt;/<span class="name">i</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;/<span class="name">p</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;<span class="name">p</span> <span class="attr">class</span>=<span class="string">"mulit_line mt10"</span>&gt;</span></span><br><span class="line">                <span class="tag">&lt;<span class="name">span</span> <span class="attr">style</span>=<span class="string">"font-size:20px;"</span>&gt;</span>这里是高度为150像素的标签内的多行文字，文字大小为20像素。<span class="tag">&lt;<span class="name">br</span> /&gt;</span>这里是第二行，用来测试多行的显示效果。<span class="tag">&lt;/<span class="name">span</span>&gt;</span><span class="tag">&lt;<span class="name">i</span> <span class="attr">class</span>=<span class="string">"vm dib"</span>&gt;</span>&amp;nbsp;<span class="tag">&lt;/<span class="name">i</span>&gt;</span></span><br><span class="line">            <span class="tag">&lt;/<span class="name">p</span>&gt;</span></span><br><span class="line">        <span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="tag">&lt;/<span class="name">section</span>&gt;</span></span><br></pre></td></tr></table></figure>

        </div>

        <blockquote class="post-copyright">
    <div class="content">
        
<span class="post-time">
    最后更新时间：<time datetime="2019-02-22T05:28:07.840Z" itemprop="dateUpdated">2019-02-22 13:28:07</time>
</span><br>


        
        <a href="/2018/04/23/57-css-tips/" target="_blank" rel="external">http://zhourudong.cn/2018/04/23/57-css-tips/</a>
        
    </div>
    <footer>
        <a href="http://zhourudong.cn">
            <img src="/img/avatar.png" alt="cucy">
            cucy
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/css/">css</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://zhourudong.cn/2018/04/23/57-css-tips/&title=《css_tips》 — Cucy的博客&pic=http://zhourudong.cn/img/avatar.png" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://zhourudong.cn/2018/04/23/57-css-tips/&title=《css_tips》 — Cucy的博客&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://zhourudong.cn/2018/04/23/57-css-tips/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《css_tips》 — Cucy的博客&url=http://zhourudong.cn/2018/04/23/57-css-tips/&via=http://zhourudong.cn" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://zhourudong.cn/2018/04/23/57-css-tips/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2018/05/05/58-npm常用命令/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">npm常用命令</h4>
      </a>
    </div>
  

  
    <div class="waves-block waves-effect next">
      <a href="/2018/04/23/56-html-css网站收藏/" id="post-next" class="post-nav-link">
        <div class="tips">Next <i class="icon icon-angle-right icon-lg icon-pl"></i></div>
        <h4 class="title">html-css网站收藏</h4>
      </a>
    </div>
  
</nav>



    














</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        谢谢大爷~
        <i class="icon icon-quote-right"></i>
    </h3>
    <div class="reward-content">
        
        <div class="reward-code">
            <img id="rewardCode" src="/img/wechat.jpg" alt="打赏二维码">
        </div>
        
        <label class="reward-toggle">
            <input id="rewardToggle" type="checkbox" class="reward-toggle-check"
                data-wechat="/img/wechat.jpg" data-alipay="/img/alipay.jpg">
            <div class="reward-toggle-ctrol">
                <span class="reward-toggle-item wechat">微信</span>
                <span class="reward-toggle-label"></span>
                <span class="reward-toggle-item alipay">支付宝</span>
            </div>
        </label>
        
    </div>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p><span>cucy &copy; 2016 - 2021</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://zhourudong.cn/2018/04/23/57-css-tips/&title=《css_tips》 — Cucy的博客&pic=http://zhourudong.cn/img/avatar.png" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://zhourudong.cn/2018/04/23/57-css-tips/&title=《css_tips》 — Cucy的博客&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://zhourudong.cn/2018/04/23/57-css-tips/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《css_tips》 — Cucy的博客&url=http://zhourudong.cn/2018/04/23/57-css-tips/&via=http://zhourudong.cn" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://zhourudong.cn/2018/04/23/57-css-tips/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="//api.qrserver.com/v1/create-qr-code/?data=http://zhourudong.cn/2018/04/23/57-css-tips/" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };


</script>

<script src="/js/main.min.js?v=1.6.13"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="/js/search.min.js?v=1.6.13" async></script>






<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '死鬼去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)咦!又好了!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
